package de.windeln.marketing.campaign.costinterval.dao.interfaces;

import java.util.Date;
import java.util.List;
import java.util.Map;

import de.windeln.marketing.campaign.costinterval.model.CostintervalClientObject;

public interface CostIntervalMapper {
	
	 List<Map<String, Object>> fetchAllCostIntervalForCampaign(int id);

	void updateCostIntervalToDeleteState(Long costintervalId);

	void insertNewCostInterval(CostintervalClientObject costInterval);

	void updateCostIntervalToDeleteStateByCampaignId(Long campaignId);

	double fetchCostPerVariableByCampaignId(long id);

	Date findCampaignStartByCampaignId(long campaignId);

	Date findCampaignEndByCampaignId(long campaignId);

	List<Map<String, Object>> findAllCostintervalDatesByCampaignId(long campaignId);
	
}
